﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for Photos
/// </summary>
public class Photos
{
    private int idPhoto;
    private string name;
    private string description;
    private string photoLocation;
    private DateTime createTime;
    private Albums album;

	public Photos()
	{
		//
		// TODO: Add constructor logic here
		//
	}

    public Photos(int idPhoto, string name, string description, string photoLocation, DateTime createTime, Albums album)
    {
        this.idPhoto = idPhoto;
        this.name = name;
        this.description = description;
        this.photoLocation = photoLocation;
        this.createTime = createTime;
        this.album = album;
    }

    public int IdPhoto
    {
        get { return idPhoto; }
        set { idPhoto = value; }
    }

    public string Name
    {
        get { return name; }
        set { name = value; }
    }

    public string Description
    {
        get { return description; }
        set { description = value; }
    }

    public string PhotoLocation
    {
        get { return photoLocation; }
        set { photoLocation = value; }
    }

    public DateTime CreateTime
    {
        get { return createTime; }
        set { createTime = value; }
    }

    public Albums Album
    {
        get { return album; }
        set { album = value; }
    }
}